//
//  ChargeListCell.m
//  Shengzhuli
//
//  Created by 卡忙科技 on 16/8/19.
//  Copyright © 2016年 kamangkeji. All rights reserved.
//

#import "ChargeListCell.h"

@interface ChargeListCell()

@property (weak, nonatomic) IBOutlet UILabel *timeLab;
@property (weak, nonatomic) IBOutlet UILabel *typeLab;
@property (weak, nonatomic) IBOutlet UILabel *moneyLab;

@end

@implementation ChargeListCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setModel:(ChargeListModel *)model
{
    _model = model;
    self.timeLab.text = [NSString stringWithFormat:@"充值时间:%@",model.createDate];
    self.moneyLab.text = [NSString stringWithFormat:@"金额:%.2f",model.amount];
    self.typeLab.text = [NSString stringWithFormat:@"支付方式:%@",model.tradeChannel];
}

@end
